package com.ciquan.server.service.impl;

import com.ciquan.server.bean.ArtistInfo;
import com.ciquan.server.dao.ArtistInfoMapper;
import com.ciquan.server.service.ArtistInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by kakalee on 15/3/27.
 */
@Service
public class ArtistInfoServiceImpl implements ArtistInfoService {

    @Resource
    private ArtistInfoMapper artistInfoMapper;

    @Override
    public ArtistInfo selectById(int id) {
        return artistInfoMapper.selectById(id);
    }

    @Override
    public List<ArtistInfo> selectList() {
        return artistInfoMapper.selectList();
    }
}
